#ifndef MUSICDB_H
#define MUSICDB_H

#include <QObject>
#include <QDir>
#include <QFile>
#include "common/statusvalue.h"
#include "common/common.h"

class MusicDB : public QObject
{
    Q_OBJECT
public:
    explicit MusicDB(QObject *parent = 0);

    QList<QString> getMusicPath();
    void removeMusic(const QString &musicName);

signals:

public slots:
    void searchMusic();

private:
    QFileInfoList Mp3Path;

    bool searchMp3File(const QString &rootPath);

    void insertMusic();

};

#endif // MUSICDB_H
